package com.education.platform.api.service.impl;

import com.education.platform.api.service.AccountFlowService;
import com.education.platform.dao.AccountDao;
import com.education.platform.dao.RelUserPaperDao;
import com.education.platform.dao.UserOrderDao;
import com.education.platform.dao.entity.*;
import com.education.platform.dao.model.CourseModel;
import org.springframework.beans.factory.annotation.Autowired;
import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.CourseDao;
import org.springframework.stereotype.Service;
import com.education.platform.api.service.CourseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


import java.util.List;

/**
* describe: 课程
* @author : tomato
* @date: 2020-06-06 02:55:52.341
**/
@Service
public class CourseServiceImpl extends BaseServiceImpl<CourseDao, CourseDO> implements CourseService {

	private static final Logger LOGGER = LoggerFactory.getLogger(CourseServiceImpl.class);

    @Autowired
	private CourseDao courseDao;

    /**
     * 查询课程列表
     * @param query
     * @return
     */
    @Override
    public List<CourseModel> getCourseList(CourseModel query) {
        return courseDao.getCourseListApp(query);
    }





}
